package com.example.day1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.day1.DTO.DishDto;
import com.example.day1.common.R;
import com.example.day1.entity.Dish;
import org.springframework.stereotype.Service;

@Service
public interface DishService extends IService<Dish> {
    //定义一个方法用于将数据添加到两个表中
    public void savewith(DishDto dishDto);

    public DishDto get(long id);

    public void updatewith(DishDto dishDto);
}
